package com.example.demo.pojo;

public class Menu {
    private Integer m_id;

    private String m_name;

    private Integer m_state;

    private String m_chineseName;

    public Integer getM_id() {
        return m_id;
    }

    public void setM_id(Integer m_id) {
        this.m_id = m_id;
    }

    public String getM_name() {
        return m_name;
    }

    public void setM_name(String m_name) {
        this.m_name = m_name == null ? null : m_name.trim();
    }

    public Integer getM_state() {
        return m_state;
    }

    public void setM_state(Integer m_state) {
        this.m_state = m_state;
    }

    public String getM_chineseName() {
        return m_chineseName;
    }

    public void setM_chineseName(String m_chineseName) {
        this.m_chineseName = m_chineseName == null ? null : m_chineseName.trim();
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", m_id=").append(m_id);
        sb.append(", m_name=").append(m_name);
        sb.append(", m_state=").append(m_state);
        sb.append(", m_chineseName=").append(m_chineseName);
        sb.append("]");
        return sb.toString();
    }
}